package com.autologistics.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Disparter entity. @author MyEclipse Persistence Tools
 */

public class Disparter implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer idCardNum;
	private Timestamp joinTime;
	private Integer age;
	private Integer state;
	private String phone;
	private String name;
	private Set ordertables = new HashSet(0);

	// Constructors

	/** default constructor */
	public Disparter() {
	}

	/** full constructor */
	public Disparter(Integer idCardNum, Timestamp joinTime, Integer age,
			Integer state, String phone, String name, Set ordertables) {
		this.idCardNum = idCardNum;
		this.joinTime = joinTime;
		this.age = age;
		this.state = state;
		this.phone = phone;
		this.name = name;
		this.ordertables = ordertables;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getIdCardNum() {
		return this.idCardNum;
	}

	public void setIdCardNum(Integer idCardNum) {
		this.idCardNum = idCardNum;
	}

	public Timestamp getJoinTime() {
		return this.joinTime;
	}

	public void setJoinTime(Timestamp joinTime) {
		this.joinTime = joinTime;
	}

	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getOrdertables() {
		return this.ordertables;
	}

	public void setOrdertables(Set ordertables) {
		this.ordertables = ordertables;
	}

}